// 引入公共的请求封装my_http.js（根据你自己实际的路径引入）
import axios from "../util/axios.js"

// 微信登录
export const login = (code) => {
	return axios('/qmUser/wxLogin', {
		code: code
	})
}

// 手机号验证码登录
export const phoneLogin = (phone, password) => {
	return axios('/qmUser/login', {
		phone: phone,
		password: password
	}, 'POST')
}